package com.zhitan.ems.framework.core.mp.base;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 基础实体类
 *
 */
@Data
public class BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@JsonIgnore
	@TableField(exist = false)
	private String searchValue;
	/**
	 * 状态[0:未删除,1:删除]
	 */
	@TableLogic
	@ApiModelProperty(value = "是否已删除", hidden = true)
	private Integer isDelete;
}
